package cn.keyvalue.ccf.common.object;

import java.util.ArrayList;
import java.util.List;

/**
 * 详情页
 * @author wangxinning
 *
 */
public class DetailPage extends Page{

	/**
	 * 
	 */
	private static final long serialVersionUID = 6354522173313122284L;

	//内容分类
	private List<Hyperlink> types;
	
	public List<Hyperlink> getTypes() {
		return types;
	}

	public void setTypes(List<Hyperlink> types) {
		this.types = types;
	}

	public List<Hyperlink> getTags() {
		return tags;
	}

	public void setTags(List<Hyperlink> tags) {
		this.tags = tags;
	}

	public String getBodytitle() {
		return bodytitle;
	}

	public void setBodytitle(String bodytitle) {
		this.bodytitle = bodytitle;
	}

	public String getBody() {
		return body;
	}

	public void setBody(String body) {
		this.body = body;
	}

	public List<Image> getImages() {
		return images;
	}

	public void setImages(List<Image> images) {
		this.images = images;
	}

	public Hyperlink getNextHyperlink() {
		return nextHyperlink;
	}

	public void setNextHyperlink(Hyperlink nextHyperlink) {
		this.nextHyperlink = nextHyperlink;
	}

	//内容标签
	private List<Hyperlink> tags;
	
	//内容字符串
	private String bodytitle;
	private String body;
	
	//内容图片
	private List<Image> images;
	
	//下一页,可能是cps跳转页
	private Hyperlink nextHyperlink;
	
	
	
	
	
	
	
	//内容简介
	private String summary;
	
	public String getSummary() {
		return summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public List<Image> getSmallImages() {
		return smallImages;
	}

	public void setSmallImages(List<Image> smallImages) {
		this.smallImages = smallImages;
	}
	
	public void addSmallImage( Image img )
	{
		if( smallImages == null )
		{
			smallImages = new ArrayList<Image>();
		}
		smallImages.add(img);
	}

	//小标识图片
	private List<Image> smallImages;
}
